package org.esk.dablog.dao;

import org.esk.dablog.model.Picture;

/**
 * This class provides database-level management form Picture entity
 * User: jc
 * Date: 30.11.2006
 * Time: 12:51:40
 * $Id:$
 */
public interface PictureDAO {


    /**
     * returns picture by its id;
     * null if not found
     * @param id
     * @return
     */
    Picture getPicture(long id);

    /**
     * deletes picture;
     * @param id
     */
    void deletePicture(long id);

}
